﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Monopoly.Domain
{
    public abstract class BoxProperty : Box
    {
        private int Price;
        private BoxPropertyOwner Owner;

        public BoxProperty(string Name, int Price)
            : base(Name)
        {
            this.Price = Price;
        }

        public int GetPrice()
        {
            return this.Price;
        }

        public BoxPropertyOwner GetOwner()
        {
            return this.Owner;
        }

        public void SetOwner(BoxPropertyOwner Owner)
        {
            this.Owner = Owner;
        }
    }
}
